CRPEJob::SetSectionFormat

Use CRPEJob::SetSectionFormat to set the section format settings for selected sections in the specified report to the values in CRPESectionOptions. Use this method to provide specialized formatting for printing invoices, form letters, printing on pre-printed forms, etc.

SetSectionFormat allows you to hide a section, insert a page break either before or after a section begins, reset the page number to 1 after a group value prints, prevent page breaks from spreading data from a single record over two pages, and print group values only at the bottom of a page. For a complete discussion of each of these options, see CRPESectionOptions.

Syntax
BOOL SetSectionFormat (
        short sectionCode,
        const CRPESectionOptions *options );
Parameters

sectionCode

Specifies the code for the report section for which you want to change format information. Use one of the PEP_XXX Section Codes Constants.

options

Specifies a pointer to CRPESectionOptions.

Returns


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com